The mikromedia-based mikroWebserver is the easiest way to remotely monitor and control your smart home system, weather station, or any other type of data logger.
You’ll find a lot of examples online on how to set up a wireless data logging or automation system. But on second look you’ll see that a lot of them are limited to a local network. Come to think of it, if you’re already on site, why would you need remote control?
Our mikroWeb server bypasses these restriction by relying on noip.com – a dynamic DNS system that allows you to setup a domain that’s tied to your public IP address (for free).
You can google around the find similar services, but the point is that noIP eliminates the need for a static IP address, hence, you’re not limited to using the local IP of your home network.
The example code is robust against connection losses (caused by power outages for example). Once the mikromedia restarts, the newly changed IP address will be automatically tied to your noip domain.
To protect against security breaches, it’s best to set up a specific port on your router that connects to the mikromedia.
You’ll find that the provided code is well documented. In the example, we built a simple dashboard (viewable from any web browser) that displays readings from four click boards: HDC1000 click, Air Quality click and motion click. A relay click is also connected, allowing you to control appliances.